home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Collection of Tools & Utilities
/
Collection of Tools and Utilities.iso
/
sound
/
sndblst4.zip
/
README.DOC
< prev
next >
Wrap
Text File
|
1993-12-11
|
5KB
|
111 lines
This is not part of the Sound Blaster Freedom Project (SBFP), although it has
the exact same goal:
To provide a cheap (free) source of programming information for the
Sound Blaster and compatables.
Where this differs from the SBFP:
I have provided a programming specification for the Sound Blaster and Sound
Blaster Pro (DSP DAC/ADC only). I have included some info and code on
programming for the PC Speaker. I have included programming specs for various
chips available to all PC compatables (PIC, PIT, DMAC, etc). The source is
intended to be a basic example, high speed ADC/DAC is not demonstrated, nor is
use of DMA channels other than 1, nor the use of I/O base addresses other
than 220h. As a result the amount of source is smaller than that of the
SBFP and less versatile.
Files included:
README.DOC This file
PROGSPEC.DOC A complete DSP ADC/DAC programming specification for the
Sound Blaster and Sound Blaster Pro (and compatables).
REF.DOC Programming specs for PC compatable peripheral components
(PIT, PIC, DMAC, etc)
SPEAKER.DOC Describes the theory behind a method used to play good quality
sounds out of the PC Speaker.
SB.H Include file for library functions
SBC.C Source for library functions
SBINFO.C Source for SBINFO.EXE
RAWIN.C Source for RAWIN.EXE
RAWOUT.C Source for RAWOUT.EXE
WAVEINFO.C Source for WAVEINFO.EXE
WAVE.C Source for WAVE.EXE
RWAVE.C Source for RWAVE.EXE
VOCINFO.C Source for VOCINFO.EXE
VOICE.C Source for VOICE.EXE
SPEAKER.C Source for SPEAKER.EXE
SBINFO.EXE Tests I/O address 220h reads DSP version and mixer settings
for the Sound Blaster Pro
RAWIN.EXE Records (ADC) 65000 bytes to specified file at specified
sampling rate.
RAWOUT.EXE Plays (DAC) specified file at specified sampling rate.
WAVEINFO.EXE Reads and displays information about a .WAV file
WAVE.EXE Plays (DAC) a .WAV file
RWAVE.EXE Records (ADC) 65000 bytes to a .WAV file
VOCINFO.EXE Reads and displays information about a .VOC file
VOICE.EXE Plays (DAC) a .VOC file
SPEAKER.EXE Plays raw files out the PC Speaker
MAKEFILE The makefile for compiling the above exes
Notes:
All programs were compiled with Borland C 3.1.
I tested these programs on a generic 486DX2-66 EISA machine using a borrowed
Sound Blaster 2.0 and a Sound Blaster Pro.
SBINFO reported ver 2.1 for the Sound Blaster 2.0
SBINFO reported ver 3.2 for the Sound Blaster Pro
Any comments or findings would be appreciated...
RWAVE and WAVE added support for the Pro, I had a CD Player connected to
line-in and speakers on line out. To record I had to set the input to line-in
of course, and set the line-in volume. When the line-in is selected and the
line-in volume is up, the input goes straight to the output (Speakers), that
is kind of annoying, is there anyway around it?
Any comments or findings would be appreciated...
You are welcome to this information free of charge, I do require that you
do not attempt to sell the procedures (compiled or source). I also require
that if you distribute this package, you distribute it as a whole. If you
write your own programs based on these examples, I have no claims to them.
Please report bugs.
Availability:
This package sndblst4.zip will be posted on SimTel:
oak.oakland.edu:pub/msdos/sound/sndblst4.zip
It will also be posted on Waterfront West BBS (505) 523-4528
Where I can be reached:
I can be reached via e-mail (on my brothers account) swelch@nmsu.edu
Current address:
David Welch
2049 Triviz #G-17
Las Cruces, NM 88001
References:
The Sound Blaster Freedom Project, (available via ftp on a SimTel mirror)
oak.oakland.edu:pub/msdos/sound/sbf2.zip, the latest version sbf3.zip
should be there any time now.
Sound Blaster: The Official Book, by Richard Heimlich et. al.,
pub. Osborne/McGraw-Hill, ISBN 0-07-881907-5, $29.95
The Sound Blaster Developers Kit, by Creative Labs, Inc., $125++
Intel 486 MicroComputer Model 401 Board Technical Reference Manual, by
Intel, order number 504366-002
System BIOS for IBM PCs, Compatables, and EISA Computers Second Edition,
by Pheonix Technologies Ltd., pub. Addison-Wesley, ISBN 0-201-57760-7,
$26.95
Peripheral Components Data Book (1991), by Intel, available from Intel,
order number 296467-002, ISBN 1-55512-127-6
MS-DOS Batch Files 2nd ed., Microsoft Press, ISBN 1-55615-338-4, $7.95